# gcc prefix
CROSS_COMPILE := xtensa-esp32-elf-
# specify platform
CFLAGS := -D__ESP_32_PAL__ -DOLA_SDK_EXAMPLE -D_SAVE_FILE_

LDFLAGS = -lm #-lcurl -lpthread

USE_OLA_JSON=yes

CFLAGS += -D_IS_DEV_REQUEST_ACTIVE_SUPPORTED_ -D_GET_HOST_BY_NAME_

TARGET_DIR = ${TOP_DIR}/target
TARGET_LIB = ${TARGET_DIR}/lib
TARGET_BIN = ${TARGET_DIR}/bin

CC=$(CROSS_COMPILE)gcc
AR=$(CROSS_COMPILE)ar
RANLIB=$(CROSS_COMPILE)ranlib
STRIP=$(CROSS_COMPILE)strip

RM = rm -rf
CP = cp -rf
MV = mv -f


